package cn.jdy.plugins.entity.xysgajM;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import cn.jdy.common.bo.BaseEntry;
import cn.jdy.plugins.entity.NewsXysgajM;

/**
 * 举报管理实体类
 * 
 * @author 张晨阳
 * @data 2016年5月5日14:15:44
 */
@Entity
public class Reports extends BaseEntry implements Serializable{
	
	private static long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)				//根据数据库自动适配 mysql默认自增
	private Long id;            								//主键
	
	@ManyToOne
	@JoinColumn(name = "newM", insertable = false, updatable = false)
	private NewsXysgajM newm;									//外键
	
	private String contact;     								//联系人
	private String title;       								//标题
	
	@Column(columnDefinition = "longtext")
	private String context;     								 //内容
	private String reportImmediately; 							//立即上传
	private String status;      								//状态
	private String addImg1;     									 //添加图片1
	private String addImg2;     									 //添加图片2
	private String addImg3;     									 //添加图片2
	private String addVideo1;									//添加视频1
	
	private String locations;					 //投稿所在辖区
	private String reportsTime; 								//举报时间
	private String phoneNum;									//电话
	private String keyword;      								//关键词
	
	private String foundTime;									//创建时间
	private String reportNum;						//嫌疑人编号
	
	 private String nic;               //昵称
	private String userid;      					//发布人  放微信openid
	private String[] departments=new String[46];; 	//投稿部门
	private String depars;							//将部门由数组转换成字符串
	private String username;    					//发布人
	private String falseCreateTime;					//假时间
	private String audit1Status; 					//审核流程
	private String audit2Status;					//审核是否通过
	private String audit1View;						//一级审核意见
	private String audit2View;						//二级审核意见
	private String audit1Time;						//一级审核时间
	private String audit2Time;						//二级审核时间
	private String audit1Name;						//一级审核名称
	private String audit2Name;						//二级审核名称
	
	public String getDepars() {
		return depars;
	}
	public void setDepars(String depars) {
		this.depars = depars;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getFalseCreateTime() {
		return falseCreateTime;
	}
	public void setFalseCreateTime(String falseCreateTime) {
		this.falseCreateTime = falseCreateTime;
	}
	public String[] getDepartments() {
		return departments;
	}
	public void setDepartments(String[] departments) {
		this.departments = departments;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public static void setSerialversionuid(long serialversionuid) {
		serialVersionUID = serialversionuid;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public String getReportImmediately() {
		return reportImmediately;
	}
	public void setReportImmediately(String reportImmediately) {
		this.reportImmediately = reportImmediately;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getAddImg1() {
		return addImg1;
	}
	public void setAddImg1(String addImg1) {
		this.addImg1 = addImg1;
	}
	public String getAddImg2() {
		return addImg2;
	}
	public void setAddImg2(String addImg2) {
		this.addImg2 = addImg2;
	}
	public String getAddImg3() {
		return addImg3;
	}
	public void setAddImg3(String addImg3) {
		this.addImg3 = addImg3;
	}
	public String getLocations() {
		return locations;
	}
	public void setLocations(String locations) {
		this.locations = locations;
	}
	public String getReportsTime() {
		return reportsTime;
	}
	public void setReportsTime(String reportsTime) {
		this.reportsTime = reportsTime;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String getFoundTime() {
		return foundTime;
	}
	public void setFoundTime(String foundTime) {
		this.foundTime = foundTime;
	}
	public String getAudit1Status() {
		return audit1Status;
	}
	public void setAudit1Status(String audit1Status) {
		this.audit1Status = audit1Status;
	}
	public String getAudit2Status() {
		return audit2Status;
	}
	public void setAudit2Status(String audit2Status) {
		this.audit2Status = audit2Status;
	}
	public String getAudit1View() {
		return audit1View;
	}
	public void setAudit1View(String audit1View) {
		this.audit1View = audit1View;
	}
	public String getAudit2View() {
		return audit2View;
	}
	public void setAudit2View(String audit2View) {
		this.audit2View = audit2View;
	}
	public String getAudit1Time() {
		return audit1Time;
	}
	public void setAudit1Time(String audit1Time) {
		this.audit1Time = audit1Time;
	}
	public String getAudit2Time() {
		return audit2Time;
	}
	public void setAudit2Time(String audit2Time) {
		this.audit2Time = audit2Time;
	}
	public String getAudit1Name() {
		return audit1Name;
	}
	public void setAudit1Name(String audit1Name) {
		this.audit1Name = audit1Name;
	}
	public String getAudit2Name() {
		return audit2Name;
	}
	public void setAudit2Name(String audit2Name) {
		this.audit2Name = audit2Name;
	}
	public String getReportNum() {
		return reportNum;
	}
	public void setReportNum(String reportNum) {
		this.reportNum = reportNum;
	}
	public NewsXysgajM getNewm() {
		return newm;
	}
	public void setNewm(NewsXysgajM newm) {
		this.newm = newm;
	}
	public String getAddVideo1() {
		return addVideo1;
	}
	public void setAddVideo1(String addVideo1) {
		this.addVideo1 = addVideo1;
	}
  public String getNic() {
    return nic;
  }
  public void setNic(String nic) {
    this.nic = nic;
  }

}
